radius_server
Configuration for Radius Server configuration resource.
Read/write properties
ip_attribute_type<Integer>
The attribute type of the remote IP address attribute in a RADIUS response.
Maximum value =
port<Integer>
Port number of radius server.
Minimum value = 1
Maximum value =
groups_prefix<String>
Prefix string that precedes group names within a RADIUS attribute for RADIUS group extraction.
Maximum length = 31
name<String>
Name of radius server.
Minimum length = 1
Maximum length = 128
pwd_attribute_type<Integer>
The attribute type of the password attribute in a RADIUS response..
Maximum value =
nas_id<String>
NAS ID.
Maximum length = 128
auth_timeout<Integer>
The maximum number of seconds the system will wait for a response from the Radius server.
Maximum value =
accounting<Boolean>
Enable accounting in the radius server.
pwd_vendor_id<Integer>
Vendor ID of the password in the RADIUS response. Used to extract the user password.
Maximum value =
ip_vendor_id<Integer>
The vendor ID of the attribute in the RADIUS response which denotes the intranet IP.
Maximum value =
default_authentication_group<String>
This is the default group that is chosen when the authentication succeeds in addition to extracted groups.
Maximum length = 64
group_separator<String>
Group separator string that delimits group names within a RADIUS attribute for RADIUS group extraction.
Maximum length = 7
vendor_id<Integer>
Vendor ID for RADIUS group extraction.
Maximum value =
attribute_type<Integer>
Attribute type for RADIUS group extraction.
Maximum value =
pass_encoding<String>
Enable password encoding in RADIUS packets send to the RADIUS server.
ip_address<String>
IP Address of radius server.
Minimum length = 1
Maximum length = 64
enable_nas_ip<Boolean>
Enable NAS IP extraction.
radius_key<String>
Key of radius server.
Minimum length = 4
Maximum length = 32
id<String>
Id is system generated key for all the radius servers.
Read only properties
address_type<Integer>
Configuration Type. Values: 0: IPv4, 1: IPv6, -1: Hostname.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/radius_server
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/radius_server?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of radius_server resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/radius_server?pagesize=#no&pageno=#no
Use this query-parameter to get the radius_server resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/radius_server?count=yes
Use this query-parameter to get the count of radius_server resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "radius_server":[{
"ip_attribute_type":<Integer_value>,
"port":<Integer_value>,
"groups_prefix":<String_value>,
"name":<String_value>,
"pwd_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"auth_timeout":<Integer_value>,
"accounting":<Boolean_value>,
"pwd_vendor_id":<Integer_value>,
"ip_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"group_separator":<String_value>,
"vendor_id":<Integer_value>,
"attribute_type":<Integer_value>,
"address_type":<Integer_value>,
"pass_encoding":<String_value>,
"ip_address":<String_value>,
"enable_nas_ip":<Boolean_value>,
"radius_key":<String_value>,
"id":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/radius_server/id_value<String>
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "radius_server":[{
"ip_attribute_type":<Integer_value>,
"port":<Integer_value>,
"groups_prefix":<String_value>,
"name":<String_value>,
"pwd_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"auth_timeout":<Integer_value>,
"accounting":<Boolean_value>,
"pwd_vendor_id":<Integer_value>,
"ip_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"group_separator":<String_value>,
"vendor_id":<Integer_value>,
"attribute_type":<Integer_value>,
"address_type":<Integer_value>,
"pass_encoding":<String_value>,
"ip_address":<String_value>,
"enable_nas_ip":<Boolean_value>,
"radius_key":<String_value>,
"id":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/radius_server/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }
URL:https://<MGMT-IP>/nitro/v2/config/radius_server/id_value<String>
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"radius_server":{
"name":<String_value>,
"ip_address":<String_value>,
"id":<String_value>,
"ip_vendor_id":<Integer_value>,
"groups_prefix":<String_value>,
"port":<Integer_value>,
"enable_nas_ip":<Boolean_value>,
"auth_timeout":<Integer_value>,
"pwd_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"attribute_type":<Integer_value>,
"vendor_id":<Integer_value>,
"pwd_attribute_type":<Integer_value>,
"ip_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"radius_key":<String_value>,
"accounting":<Boolean_value>,
"pass_encoding":<String_value>,
"group_separator":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "radius_server":[{
"ip_attribute_type":<Integer_value>,
"port":<Integer_value>,
"groups_prefix":<String_value>,
"name":<String_value>,
"pwd_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"auth_timeout":<Integer_value>,
"accounting":<Boolean_value>,
"pwd_vendor_id":<Integer_value>,
"ip_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"group_separator":<String_value>,
"vendor_id":<Integer_value>,
"attribute_type":<Integer_value>,
"address_type":<Integer_value>,
"pass_encoding":<String_value>,
"ip_address":<String_value>,
"enable_nas_ip":<Boolean_value>,
"radius_key":<String_value>,
"id":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/radius_server?onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"radius_server": {
"name":<String_value>,
"ip_address":<String_value>,
"radius_key":<String_value>,
"ip_attribute_type":<Integer_value>,
"pwd_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"accounting":<Boolean_value>,
"group_separator":<String_value>,
"pass_encoding":<String_value>,
"port":<Integer_value>,
"groups_prefix":<String_value>,
"ip_vendor_id":<Integer_value>,
"id":<String_value>,
"enable_nas_ip":<Boolean_value>,
"auth_timeout":<Integer_value>,
"pwd_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"vendor_id":<Integer_value>,
"attribute_type":<Integer_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "radius_server":[{
"ip_attribute_type":<Integer_value>,
"port":<Integer_value>,
"groups_prefix":<String_value>,
"name":<String_value>,
"pwd_attribute_type":<Integer_value>,
"nas_id":<String_value>,
"auth_timeout":<Integer_value>,
"accounting":<Boolean_value>,
"pwd_vendor_id":<Integer_value>,
"ip_vendor_id":<Integer_value>,
"default_authentication_group":<String_value>,
"group_separator":<String_value>,
"vendor_id":<Integer_value>,
"attribute_type":<Integer_value>,
"address_type":<Integer_value>,
"pass_encoding":<String_value>,
"ip_address":<String_value>,
"enable_nas_ip":<Boolean_value>,
"radius_key":<String_value>,
"id":<String_value>}]}